package ycl.important.service.impl.sys;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
import ycl.important.common.base.service.impl.BaseServiceImpl;
import ycl.important.entity.sys.User;
import ycl.important.mapper.sys.UserMapper;
import ycl.important.service.sys.UserService;

import javax.annotation.Resource;

/**
 * <p>
 * 用户表 服务实现类
 * </p>
 *
 * @author YCL
 * @since 2021-06-07
 */
@Service("userService")
public class UserServiceImpl
		extends BaseServiceImpl<UserMapper, User>
		implements UserService {

	@Resource
	private UserMapper userMapper;


//	@Override
//	public void addFriends(List<Long> ids) {
//		if (CollUtil.isEmpty(ids) || ids.size() <= 1) {
//			return;
//		}
//
//		List<User> users = userMapper.selectFriendsByIds(ids);
//		if (CollUtil.isEmpty(users) || users.size() <= 1) {
//			return;
//		}
//
//		users.forEach(u->{
//
//		});
//	}
}
